package com.hsu.project.service.impl.inner;

import com.hsu.project.service.UserInterfaceInfoService;
import com.hsu.yuapicommon.service.InnerUserInterfaceInfoService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

/**
 * @ClassName: InnerUserInterfaceInfoServiceImpl
 * @author Hsu琛君珩
 * @date 2024-09-02
 * @apiNote
 * @Version: v1.0
 */
@DubboService
public class InnerUserInterfaceInfoServiceImpl implements InnerUserInterfaceInfoService {

    @Resource
    private UserInterfaceInfoService userInterfaceInfoService;

    @Override
    public boolean invokeCount(long interfaceInfoId, long userId) {
        // 直接调用 UserInterfaceInfoService 的 invoke 方法
        return userInterfaceInfoService.invokeCount(interfaceInfoId, userId);
    }
}
